<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<html>
<head>
	<title>用户列表</title>
	<link rel="stylesheet" type="text/css" href="/healthDoc/css/myStyle.css">  
</head>

<body>
	<div style="width: 600px; padding-left: 5px;height:300px">
		<s:iterator value="userList">
		<div style="margin:10px 100px 0px 0px; padding:2px 0px 0px 2px; border: dashed 1px #777; height:25px">
			<div>
				<span style="width:60px"><font size="2px">用户名:</font></span>
				<span style="width:150px">${userName}</span>
				<span style="width:60px"><font size="2px">权限:</font></span>
				<span style="width:150px">
					<s:iterator value="%{userRoles}">
						<s:select  list='#{1:"管理员", 2:"医生", 3:"病人"}' value="%{role.roleId}"/>
					</s:iterator>
				</span>
				<span style="width:40px;text-align:center">
					<a class="link" href="UserDel?userId=${userId}">
						<font size="1px">删除</font>
					</a>
				</span>	
			</div>
		</div>
	</s:iterator>
		
	</div>
</body>
</html>
